package com.ai.entity.cameraFunctions.regions;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2020-08-14
 */
@Data
@TableName("regions")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RegionsPO extends Model<RegionsPO> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 摄像头与功能关联表主键
     */
    private Integer cameraFunctionsId;

    /**
     * 区域名
     */
    private String nickname;
    /**
     * 排序
     */
    private Integer num;

    /**
     * 区域
     */
    private String spots;

    /**
     * 直线坐标
     */
    private String linePoints;

    /**
     * 代号
     */
    private Integer code;



}
